'use strict';
exports.main = async (event, context) => {
	//event为客户端上传的参数
	console.log('event : ', event)
	// 用户未注册，向 users 表添加数据完成注册
	const addresult = await usersCollection.add(event);
	console.log(addresult,'addresult')
	//返回数据给客户端
	return {
		code: 0,
		
	}
};